﻿<UserControl x:Class="CCT.NUI.TestDataCollector.DisplayControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:uc="clr-namespace:CCT.NUI.Visual;assembly=CCT.NUI.Visual" 
             xmlns:uctrl="clr-namespace:CCT.NUI.TestDataCollector"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Canvas Name="canvas">
        <uc:WpfVideoControl Name="videoControl" MouseMove="videoControl_MouseMove" Layers="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Path=Layers}"/>
        <ItemsControl ItemsSource="{Binding Path=Hands}">
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <uctrl:HandDisplayControl/>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>
    </Canvas>
</UserControl>
